package com.wangjiyuan.giftshuo.ui.activity.home;

import android.content.Intent;
import android.os.Bundle;

import com.wangjiyuan.giftshuo.R;
import com.wangjiyuan.giftshuo.base.BaseActivity;
import com.wangjiyuan.giftshuo.ui.fragment.other.detail.DetailFragment;

public class DetailActivity extends BaseActivity {
    private DetailFragment detailFragment;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_detail);
        Intent intent = getIntent();
        detailFragment = new DetailFragment();
        detailFragment.setArguments(intent.getExtras());
        getSupportFragmentManager().beginTransaction()
                .add(R.id.activity_detail, detailFragment, null)
                .commit();

    }
}
